package com.daon.pojo;

import lombok.Builder;

import java.util.Date;

@Builder
public class SysUser {
    private Integer userId;

    private String userTrueName;

    private Integer userSex;

    private String userNickname;

    private String userPassword;

    private String userIdCard;

    private String userBirthday;

    private String userAvatar;

    private String userEmail;

    private String userMobile;

    private String userLastLoginIp;

    private Integer userLabel;

    private Integer userStatus;

    private Integer isDelete;

    private Date createdAt;

    private Date updatedAt;

    public SysUser(Integer userId, String userTrueName, Integer userSex, String userNickname, String userPassword, String userIdCard, String userBirthday, String userAvatar, String userEmail, String userMobile, String userLastLoginIp, Integer userLabel, Integer userStatus, Integer isDelete, Date createdAt, Date updatedAt) {
        this.userId = userId;
        this.userTrueName = userTrueName;
        this.userSex = userSex;
        this.userNickname = userNickname;
        this.userPassword = userPassword;
        this.userIdCard = userIdCard;
        this.userBirthday = userBirthday;
        this.userAvatar = userAvatar;
        this.userEmail = userEmail;
        this.userMobile = userMobile;
        this.userLastLoginIp = userLastLoginIp;
        this.userLabel = userLabel;
        this.userStatus = userStatus;
        this.isDelete = isDelete;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
    }

    public SysUser() {
        super();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserTrueName() {
        return userTrueName;
    }

    public void setUserTrueName(String userTrueName) {
        this.userTrueName = userTrueName == null ? null : userTrueName.trim();
    }

    public Integer getUserSex() {
        return userSex;
    }

    public void setUserSex(Integer userSex) {
        this.userSex = userSex;
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname == null ? null : userNickname.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getUserIdCard() {
        return userIdCard;
    }

    public void setUserIdCard(String userIdCard) {
        this.userIdCard = userIdCard == null ? null : userIdCard.trim();
    }

    public String getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(String userBirthday) {
        this.userBirthday = userBirthday == null ? null : userBirthday.trim();
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar == null ? null : userAvatar.trim();
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile == null ? null : userMobile.trim();
    }

    public String getUserLastLoginIp() {
        return userLastLoginIp;
    }

    public void setUserLastLoginIp(String userLastLoginIp) {
        this.userLastLoginIp = userLastLoginIp == null ? null : userLastLoginIp.trim();
    }

    public Integer getUserLabel() {
        return userLabel;
    }

    public void setUserLabel(Integer userLabel) {
        this.userLabel = userLabel;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}